/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.apache.rocketmq.client.producer;

public enum SendStatus {
    SEND_OK, // 发送成功
    FLUSH_DISK_TIMEOUT, // 刷盘超时。当broker设置的刷盘策略为同步刷盘时才可能出现这种异常，异步刷盘不会出现
    FLUSH_SLAVE_TIMEOUT, // slave同步超时。当broker集群设置的master-slave的复制方式为同步复制时才可能出现这种异常，异步复制不会出现
    SLAVE_NOT_AVAILABLE, // 没有可用的slave。当broker集群设置为master-slave的复制方式为同步复制时才可能出现这种异常，异步复制不会出现
}
